Optimal. Leaf size=47 \[ -\frac{2 b^2 \log \left (a+b \sqrt{x}\right )}{a^3}+\frac{b^2 \log (x)}{a^3}+\frac{2 b}{a^2 \sqrt{x}}-\frac{1}{a x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0736098, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133 \[ -\frac{2 b^2 \log \left (a+b \sqrt{x}\right )}{a^3}+\frac{b^2 \log (x)}{a^3}+\frac{2 b}{a^2 \sqrt{x}}-\frac{1}{a x} \]
Antiderivative was successfully verified.
[In] Int[1/((a + b*Sqrt[x])*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 10.7405, size = 49, normalized size = 1.04 \[ - \frac{1}{a x} + \frac{2 b}{a^{2} \sqrt{x}} + \frac{2 b^{2} \log{\left (\sqrt{x} \right )}}{a^{3}} - \frac{2 b^{2} \log{\left (a + b \sqrt{x} \right )}}{a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x**2/(a+b*x**(1/2)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.025111, size = 44, normalized size = 0.94 \[ \frac{-2 b^2 x \log \left (a+b \sqrt{x}\right )-a \left (a-2 b \sqrt{x}\right )+b^2 x \log (x)}{a^3 x} \]
Antiderivative was successfully verified.
[In] Integrate[1/((a + b*Sqrt[x])*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.013, size = 44, normalized size = 0.9 \[ -{\frac{1}{ax}}+{\frac{{b}^{2}\ln \left ( x \right ) }{{a}^{3}}}-2\,{\frac{{b}^{2}\ln \left ( a+b\sqrt{x} \right ) }{{a}^{3}}}+2\,{\frac{b}{{a}^{2}\sqrt{x}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x^2/(a+b*x^(1/2)),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.43919, size = 58, normalized size = 1.23 \[ -\frac{2 \, b^{2} \log \left (b \sqrt{x} + a\right )}{a^{3}} + \frac{b^{2} \log \left (x\right )}{a^{3}} + \frac{2 \, b \sqrt{x} - a}{a^{2} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((b*sqrt(x) + a)*x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.250961, size = 58, normalized size = 1.23 \[ -\frac{2 \, b^{2} x \log \left (b \sqrt{x} + a\right ) - 2 \, b^{2} x \log \left (\sqrt{x}\right ) - 2 \, a b \sqrt{x} + a^{2}}{a^{3} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((b*sqrt(x) + a)*x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 4.61125, size = 68, normalized size = 1.45 \[ \begin{cases} \frac{\tilde{\infty }}{x^{\frac{3}{2}}} & \text{for}\: a = 0 \wedge b = 0 \\- \frac{1}{a x} & \text{for}\: b = 0 \\- \frac{2}{3 b x^{\frac{3}{2}}} & \text{for}\: a = 0 \\- \frac{1}{a x} + \frac{2 b}{a^{2} \sqrt{x}} + \frac{b^{2} \log{\left (x \right )}}{a^{3}} - \frac{2 b^{2} \log{\left (\frac{a}{b} + \sqrt{x} \right )}}{a^{3}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x**2/(a+b*x**(1/2)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.223029, size = 65, normalized size = 1.38 \[ -\frac{2 \, b^{2}{\rm ln}\left ({\left | b \sqrt{x} + a \right |}\right )}{a^{3}} + \frac{b^{2}{\rm ln}\left ({\left | x \right |}\right )}{a^{3}} + \frac{2 \, a b \sqrt{x} - a^{2}}{a^{3} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((b*sqrt(x) + a)*x^2),x, algorithm="giac")
[Out]